home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Tool Chest / Testing & Debugging / Virtual User / Virtual User Current Release / Examples / Example External Tools / ProcessTool / Application.r.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-04  |  2.2 KB  |  74 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    File:        Application.r.h
  3.  *
  4.  *    Contains:    xxx put contents here xxx
  5.  *
  6.  *    Written by:    Rick Violet
  7.  *
  8.  *    Copyright:    © 1992 by Apple Computer, Inc., all rights reserved.
  9.  *
  10.  *    Change History (most recent first):
  11.  *
  12.  *         <2>     5/11/93    RV        Fixed resource ID conflict
  13.  *                11/18/92    RV        xxx put comment here xxx
  14.  *
  15.  *    To Do:
  16.  */
  17.  
  18. #ifndef __Application.R__
  19. #define __Application.R__
  20.  
  21.  
  22. /*—————————————————————————————————————————————————————————————————————————————————————
  23.     These constants pertain to resource usage or definition.
  24.     
  25.     This file can be included by a Rez source file (.r) 
  26.                               or a C/C++ (.c/.cp) source file.
  27.                               
  28.     Constants which occur in both Rez & C/C++ sources are put here to prevent 
  29.     two definitions of a constant with differing values. This way there is
  30.     one definition, and only one value. 
  31. —————————————————————————————————————————————————————————————————————————————————————*/
  32.  
  33. #define kOwnerSignature            'VUTL'    /* Our application's creator type    */
  34.  
  35. /*—————————————————————————————————————————————————————————————————————————————————————
  36.     Application Partition size 
  37. */
  38. #define kPrefSize                200        /* Prefered App memory partition size */
  39. #define kMinSize                100        /* Minimum  App memory partition size */
  40.          
  41. /*—————————————————————————————————————————————————————————————————————————————————————
  42.     Menu ids & item indecies
  43. */
  44. #define    kMenuBarID                128        /* application's menu bar */
  45. #define    kAboutAlertID            128        /* about alert */
  46.  
  47. #define    kAppleMenuID            128        /* Apple menu */
  48. #define    kAboutItem                1            /* About item */
  49.  
  50. #define    kFileMenuID                129        /* File menu */
  51. #define    kQuitItem                1            /* Quit item */
  52.  
  53. #define    kUserAlertID            129        /* generic user error alert */
  54.  
  55. /*—————————————————————————————————————————————————————————————————————————————————————
  56.     The following are indicies into our error STR# resource. 
  57. */
  58. #define kAppErrStrings            128        /* STR# id for External Tool error messages */
  59.  
  60. #define    kWrongMachineErr        1        /* Can't run on this CPU message */
  61. #define    kSmallSizeErr            2        /* Not enough memory message */
  62. #define    kWrongSysSWVers            3        /* System Software too young */
  63.  
  64. #define kBeachBall_acur_ID        0        
  65. #define kBeachBall_CURS_1        128        
  66. #define kBeachBall_CURS_2        129        
  67. #define kBeachBall_CURS_3        130    
  68. #define kBeachBall_CURS_4        131    
  69.  
  70.  
  71.  
  72.  
  73. #endif __Application.R__
  74.